package com.ttbj.freight.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ttbj.product.bean.dto.FreightDto;

public interface FreightMapper {

	/**
	 * 配运历史订单 
	 * @param freight
	 */
	List<FreightDto> historyFreight(FreightDto freight);

	/**
	 * 配运单详情
	 * @param waybillId
	 */
	FreightDto detailFreight(@Param("waybillId") Long waybillId);

	/**
	 * 配运单列表
	 * @param driverId
	 * 				id
	 * @param isMove
	 * 				是否是搬运单
	 * @param isCompl
	 * 				是否已完成
	 * @return
	 */
	List<FreightDto> freightList(@Param("driverId") Long driverId, @Param("isMove") Integer isMove, @Param("isComplete") Integer isCompl);
	
	

}
